import Vue from 'vue'
import Router from 'vue-router'
import Articles from '@/pages/Articles'
import Movies from '@/pages/Movies'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/Articles',
      name: 'Articles',
      component: Articles
    },
    {
      path:'/Movies',
      name:'Movies',
      component:Movies
    },
    {
      path:'*',
      redirect:'/Articles'
    }
  ],
  mode:"history"
})
